home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pcmagazi
/
1986
/
15
/
ega50.scr
< prev
next >
Wrap
Text File
|
1986-08-05
|
737b
|
45 lines
N EGA50.COM
A 100
CLD
MOV BH,03 ; 8x8 font pointer
MOV AX,1130
INT 10
PUSH ES
POP DS
MOV SI,BP ; DS:SI points to font
PUSH CS
POP ES
MOV DI,0150 ; ES:DI to destination
MOV BX,0100 ; Number of chars
MOV CX,0007 ; Bytes per char
REPZ ; Move them
MOVSB
INC SI ; Skip over last byte
DEC BX
JNZ 0114 ; Next character
MOV BP,0150 ; Points to font
MOV DX,0000 ; Starting char
MOV CX,0100 ; Number of chars
MOV BH,07 ; Bytes per char
MOV BL,00 ; Block to load
MOV AX,1110 ; Load user font
INT 10
SUB AX,AX
MOV DS,AX
PUSH [0487] ; Fix up cursor
OR BYTE PTR [0487],01
MOV CX,0600
MOV AH,01
INT 10
POP [0487]
MOV DX,03B4 ; Fix up underline
MOV AX,0614
OUT DX,AX
INT 20
R CX
50
W
Q